HAL DMA Constants

Error code definition reflecting asynchronous process errors

group DMA_Error_Code

Defines

HAL_DMA_ERROR_NONE (0U)

DMA channel no error

HAL_DMA_ERROR_DTE (0x01UL << 0U)

DMA channel data transfer error

HAL_DMA_ERROR_USE (0x01UL << 1U)

DMA channel user setting error

HAL_DMA_ERROR_TO (0x01UL << 2U)

DMA channel trigger overrun error

HAL_DMA_ERROR_ULE (0x01UL << 3U)

DMA channel fetch node error

Optional interrupts

group DMA_Optional_Interrupt

Defines

HAL_DMA_OPT_IT_NONE (0U)

DMA channel optional interrupts Half Transfer(HT) and Trigger Overrun (TO) are disabled

HAL_DMA_OPT_IT_HT (0x01UL << 9U)

DMA channel Half Transfer interrupt enabled

HAL_DMA_OPT_IT_TO (0x01UL << 14U)

DMA channel Trigger Overrun interrupt enabled

HAL_DMA_OPT_IT_DEFAULT ( HAL_DMA_OPT_IT_HT | HAL_DMA_OPT_IT_TO )

DMA channel all optional interrupts i.e Half Transfer(HT) and Trigger Overrun (TO) are enabled

HAL_DMA_OPT_IT_SILENT ((uint32_t)0xFFFFFFFFU)

DMA channel all interrupts are disabled, the DMA transfer will not issue any interrupt